export default {
  fields: {
    name: {
      type: "input",
      model: "name",
      wrapper: {
        label: "姓名"
      },
      customize: {
        placeholder: "请输入姓名"
      },
      decorator: {
        initialValue: null,
        rules: [
          {
            required: true,
            message: "必须填写姓名"
          }
        ]
      }
    },
    idCard: {
      type: "input",
      model: "idCard",
      wrapper: {
        label: "身份证号"
      },
      customize: {
        placeholder: "请输入身份证号"
      },
      decorator: {
        initialValue: null,
        rules: [
          {
            required: true,
            message: "必须填写身份证"
          }
        ]
      }
    },
    phone: {
      type: "input",
      model: "phone",
      wrapper: {
        label: "手机号"
      },
      customize: {
        placeholder: "请输入手机号"
      },
      decorator: {
        initialValue: null,
        rules: []
      }
    },
    bankCard: {
      type: "input",
      model: "bankCard",
      wrapper: {
        label: "银行卡号"
      },
      customize: {
        placeholder: "请输入银行卡号"
      },
      decorator: {
        initialValue: null,
        rules: [
          {
            required: false,
            message: "必须填写银行卡号"
          }
        ]
      }
    },
    zfbIdentity: {
      type: "input",
      model: "zfbIdentity",
      wrapper: {
        label: "支付宝账号"
      },
      customize: {
        placeholder: "请输入支付宝账号"
      },
      decorator: {
        initialValue: null,
        rules: [
          {
            required: false,
            message: "必须填写支付宝账号"
          }
        ]
      }
    },
    // openingBank: {
    //   type: "input",
    //   model: "openingBank",
    //   wrapper: {
    //     label: "银行名称"
    //   },
    //   customize: {
    //     placeholder: "请输入银行名称"
    //   },
    //   decorator: {
    //     initialValue: null,
    //     rules: []
    //   }
    // }
  }
};
